import IhooksContainer from "../IHooksContainer";
import IHooksRender from "../IHooksRender";

export default class DefaultHooksContainer implements IhooksContainer{

    container:Set<IHooksRender> = new Set()

    addHook(hook: IHooksRender) {
        this.container.add(hook);
        return this
    }
    removeHook(hook: IHooksRender) {
        this.container.delete(hook);
        return this
    }

}